package com.leen.news.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author 
 * 配置表
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "配置表")
@TableName(value = "yx_system_config")
public class YxSystemConfig implements Serializable {
    /**
     * 配置id
     */
    @ApiModelProperty(value = "配置id",example = "0")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 字段名称
     */
    @ApiModelProperty(value = "字段名称")
    @TableField(value = "menu_name")
    private String menuName;

    /**
     * 默认值
     */
    @ApiModelProperty(value = "默认值")
    @TableField(value = "value")
    private String value;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 是否隐藏
     */
    @ApiModelProperty(value = "是否隐藏")
    @TableField(value = "status")
    private Byte status;

    private static final long serialVersionUID = 1L;
}